package com.huixuebao.after.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huixuebao.after.dto.PolicyOrderDTO;
import com.huixuebao.after.dto.SettleToExamineDTO;
import com.huixuebao.after.entity.PolicyOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface PolicyMapper extends BaseMapper<PolicyOrderEntity> {
    IPage<PolicyOrderDTO> selectOrders(IPage page, @Param("params") Map<String,Object> map);
    List<PolicyOrderDTO> selectOrdersList(@Param("params") Map<String,Object> map);

    IPage<SettleToExamineDTO> selectSettle(IPage page, @Param("params") Map<String,Object> map);
    List<SettleToExamineDTO> selectSettleList(@Param("params") Map<String,Object> map);
}
